﻿using System;
using System.Collections.Generic;
using System.ComponentModel.DataAnnotations;
using System.Linq;
using System.Text;
using System.Threading.Tasks;

namespace RBAC.MaHaiBo.Entity
{
    public class MenuDTO
    {
        /// <summary>
        /// 菜单编号
        /// </summary>
        [Key]
        public int Mid { get; set; }
        /// <summary>
        /// 菜单名称
        /// </summary>
        public string? MenuName { get; set; }
        /// <summary>
        /// 菜单地址
        /// </summary>
        public string? Url { get; set; }
        /// <summary>
        /// 菜单父级
        /// </summary>
        public int Pid { get; set; }
        /// <summary>
        /// 菜单名称
        /// </summary>
        public  List<Menu> ?Pname { get; set; }
        /// <summary>
        /// 创建人
        /// </summary>
        public string? CreateBy { get; set; } 
        /// <summary>
        /// 创建时间
        /// </summary>
        public DateTime? CreateDate { get; set; }
        /// <summary>
        /// 修改人
        /// </summary>
        public string? UpdateBy { get; set; }
        /// <summary>
        /// 修改时间
        /// </summary>
        public DateTime? UpdateDate { get; set; }
        /// <summary>
        /// 删除标记
        /// </summary>
        public bool IsDeleted { get; set; }
    }
}
